71aae405d57288e83086e36143df3eb9bd6dba39,org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingInfo.java,RequestMappingInfo,getMatchingRequestMapping,#String#HttpServletRequest#PathMatcher#,205

Before Change


	 * @return a new request key that contains all matching attributes, or {@code null} if not all conditions match
	 */
	public RequestMappingInfo getMatchingRequestMapping(String lookupPath, HttpServletRequest request, PathMatcher pathMatcher) {
		if (!checkMethod(request) || !paramsCondition.match(request) || !headersCondition.match(request) ||
				!consumesCondition.match(request)) {
			return null;
		}

After Change


	 * @return a new request key that contains all matching attributes, or {@code null} if not all conditions match
	 */
	public RequestMappingInfo getMatchingRequestMapping(String lookupPath, HttpServletRequest request, PathMatcher pathMatcher) {
		ParamsRequestCondition matchingParamsCondition = paramsCondition.getMatchingCondition(request);
		HeadersRequestCondition matchingHeadersCondition = headersCondition.getMatchingCondition(request);
		ConsumesRequestCondition matchingConsumesCondition = consumesCondition.getMatchingCondition(request);

		if (!checkMethod(request) || matchingParamsCondition == null || matchingHeadersCondition == null ||
				matchingConsumesCondition == null) {
			return null;
		}